/* ==================================== */
/* ESTILOS CSS - Design Clean           */
/* ==================================== */

/* Base e Variáveis */
:root {
    --primary-color: #16600f;
    --secondary-color: #f2fbf9;
    --text-color: #555;
    --heading-color: #222;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --border-color: #e9e9e9;
    --border-radius: 8px;
    --transition-speed: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--bg-white);
    font-size: 16px;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed);
}

a:hover {
    color: #5bb222;
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--heading-color);
    font-weight: 600;
    line-height: 1.3;
}
h1 { font-size: 3rem; margin-bottom: 0.5em; }
h2 { font-size: 2.25rem; margin-bottom: 0.5em; }
h3 { font-size: 1.25rem; }

section { padding: 80px 0; }

.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    margin-bottom: 15px;
}
.section-title p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    transition: all var(--transition-speed);
    cursor: pointer;
    font-size: 1rem;
    border: 2px solid transparent;
}
.btn i { margin-right: 8px; }

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}
.btn-primary:hover {
    background-color: #5bb222;
    color: var(--bg-white);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-3px);
}

/* Header */
.main-header {
    background: var(--bg-white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.main-header .logo img { height: 50px; }
.main-header .main-nav ul { display: flex; gap: 30px; }
.main-header .main-nav ul li a {
    color: var(--heading-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 8px;
}
.main-header .main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}
.main-header .main-nav ul li a:hover {
    color: var(--primary-color);
}
.main-header .main-nav ul li a:hover::after {
    width: 100%;
}
.hamburger-menu { display: none; background: none; border: none; font-size: 1.8rem; cursor: pointer; }
.mobile-nav { display: none; }

/* Hero Section */
.hero-section {
    background: var(--bg-white);
    padding: 60px 0;
    overflow: hidden;
}
.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.hero-content { flex: 1; max-width: 50%; z-index: 5; }
.hero-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    letter-spacing: 1px;
}
.hero-buttons { display: flex; gap: 15px; margin-top: 30px; flex-wrap: wrap; }


/* Animação de Sobreposição na Hero Section */
.hero-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    perspective: 1000px;
}

.overlap-img {
    width: 80%;
    max-width: 350px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0);
    transition: transform 0.5s ease-in-out, z-index 0.5s;
    position: relative;
    cursor: pointer;
}

.img-1 {
    z-index: 2;
}

.img-2 {
    z-index: 1;
    margin-left: -180px;
}

.hero-image:hover .overlap-img {
    transform: rotateX(10deg) rotateY(-15deg);
}

.hero-image .overlap-img:hover {
    transform: scale(1.1) rotateX(0) rotateY(0) translateY(-10px);
    z-index: 10;
}


/* Features Section (Diferenciais) */
.features-section { background: var(--secondary-color); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.feature-item {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.feature-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Services Section */
.services-section { background: var(--bg-white); }
.service-grid-3-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}
.service-item {
    text-align: center;
    padding: 20px;
    border-radius: var(--border-radius);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}
.service-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.service-item i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* CTA Section (Cobertura) */
.cta-section {
    background-color: var(--primary-color);
    color: var(--bg-white);
    text-align: center;
    padding: 60px 0;
}
.cta-section h2 { color: var(--bg-white); }
.cta-section p { max-width: 600px; margin: 0 auto 30px; opacity: 0.9; }
.cta-section .btn-primary {
    background: var(--bg-white);
    color: var(--primary-color);
}
.cta-section .btn-primary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Footer */
.main-footer {
    background: #222;
    color: #ccc;
    padding: 60px 0 20px;
}
.main-footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-about { flex-basis: 40%; }
.footer-links, .footer-contact { flex-basis: 20%; }
.main-footer h4 {
    color: var(--bg-white);
    font-weight: 600;
    margin-bottom: 20px;
}
.main-footer ul li { margin-bottom: 10px; }
.main-footer ul li a, .main-footer p { color: #ccc; }
.main-footer p i { margin-right: 10px; color: var(--primary-color); }
.social-icons { display: flex; gap: 15px; margin-top: 20px; }
.social-icons a { color: var(--bg-white); font-size: 1.2rem; }
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #888;
}

/* Botão Flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}
.whatsapp-float.visible {
    opacity: 1;
    transform: translateY(0);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
}


/* Animação de Scroll Reveal */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: 0.2s;
}
.visible {
    opacity: 1;
    transform: translateY(0);
}


/* Responsividade */
@media (max-width: 992px) {
    .hero-section .container { flex-direction: column; text-align: center; }
    .hero-content { max-width: 100%; order: 1; margin-bottom: 40px; }
    .hero-image { order: 2; }
    .hero-buttons { justify-content: center; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .main-nav, .contact-header { display: none; }
    .hamburger-menu { display: block; }
    
    .mobile-nav.active {
        display: flex;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: var(--bg-white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 999;
    }
    .mobile-nav ul { text-align: center; }
    .mobile-nav ul li { margin: 20px 0; }
    .mobile-nav ul li a { font-size: 1.5rem; color: var(--heading-color); }
    .close-menu { position: absolute; top: 20px; right: 20px; font-size: 2rem; background: none; border: none; cursor: pointer; }

    .service-grid-3-columns {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .hero-image { min-height: 300px; }
    .overlap-img { width: 70%; }
    .img-2 { margin-left: -120px; }

    .footer-about, .footer-links, .footer-contact { flex-basis: 100%; text-align: center; }
    .social-icons { justify-content: center; }
}

.main-header .logo {
    position: relative;
    z-index: 10000; 
}